package com.link.base.base.projectmanage.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.projectmanage.model.PartRegister;
import com.link.base.base.projectmanage.service.PartRegisterService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * 零件登记
 *
 * @author 刘启鑫
 * @date 2020-09-11 17:13:24
 */
@Controller
@RequestMapping("/link/partRegister")
public class PartRegisterController extends BasicController<PartRegister> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private PartRegisterService partRegisterService;

    @Override
    public BasicService<PartRegister> getBasicService() throws Exception {
        return partRegisterService;
    }
}